package javabase.desginpattern.behavior.strategy;

/**
 * @author fance
 * @date 18-4-26 下午3:33
 */
public class Context {

    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }
    public void doOperate() {
        strategy.operate();
    }
}
